home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_87.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  146KB  |  816x1056  |  8-bit (256 colors)
Labels: book | poster | reckoner | sky | windowpane
OCR: Bityubuse inolide directives, thegn nshou dibeTatMhtntheh Verynstart Laotgthodiegramming age The last line of the above program also has a new instructionblr Branch to Link Register. This register that can contain the return for subroutine. or any other piece o1 code. The start up macro saves it for us, and tidy up restores the link register, so when we execute blr instruction, the processor branches to the contents of the Link Register in this case. back to whatever launched our program (normally the Finder). If you branch to vour own subroutine, with 3 branch and link instructiorb. you must save the Link register (probably in another register) so you can restore it to return to the caller. Note Xcall destroys the Link Register and the Count Register (which we haven't talked about yet. bu ...